#ifndef DOWNLOADPDB_H
#define DOWNLOADPDB_H

#include <QDialog>
#include "ui_downloadpdb.h"

namespace PBVP {
	class DownloadPDBDialog : public QDialog
	{
		Q_OBJECT
	public:
		///
		DownloadPDBDialog(QWidget *parent = 0);
		///
		~DownloadPDBDialog();

		QString getPDBName() const {
			return ui.PDBNameEdit->text();
		}

		QString getSavePath() const {
			return ui.savePDBEdit->text();
		}

		bool isPDBLoad() const {
			return ui.loadPDBCheckBox->isChecked();
		}

	private slots:
		/// 
		void changePath();
		/// 
		void setPathEditText(const QString& name);

	private:
		Ui::DownloadPdbDialog ui;
		QWidget *m_pParent;
	};
}
#endif // DOWNLOADPDB_H
